home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: polyg. inters. in C
- Date: Wed, 03 Apr 96 15:15:32 GMT
- Organization: none
- Message-ID: <828544532snz@genesis.demon.co.uk>
- References: <1996Apr2.151123.3829@dcs.warwick.ac.uk>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <1996Apr2.151123.3829@dcs.warwick.ac.uk>
- D.C.Molero@dcs.warwick.ac.uk "danny" writes:
-
- >Dear Readers,
- >
- >I have what to me seems a complicated algorithmic problem and would
- >like very much to hear your suggestions.
- >
- >Given two polygons A and B, is it possible to know whether B is
- >contained in A, with possibly A and B sharing some sides ?
-
- You need an algorithms or possibly graphics related newsgroup, There is
- is nothing in your question that has any direct relevance to the C language.
-
- I suspect that this would be simpler if you know that A, B or both are
- convex polygons.
-
- >If so, is it possible to calculate A - B, that is, the polygon obtained
- >when the intersection of A and B is substracted from A ??
-
- There is no guarantee that this is a polygon, It could for instance simply
- be A with a hole in the middle.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-